<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<TITLE>新建分组</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gbk" />
<LINK href="<%=basePath%>/css/top.css" type=text/css rel=stylesheet />
<LINK href="<%=basePath%>/css/main.css" type="text/css" rel="stylesheet">
<LINK href="<%=basePath%>/css/popcalendar.css" type=text/css
	rel=stylesheet />
<SCRIPT src="<%=basePath%>/js/popcalendar.js"></SCRIPT>
<SCRIPT src="<%=basePath%>/js/function.js"></SCRIPT>
<SCRIPT type="text/javascript">
function CheckForm()
{
 
   if(document.Form1.groupName.value=="")
   {
	 alert("名称不能为空");
	 document.Form1.groupName.focus();
	 return false;
   }

  else{ return true;}
}
</SCRIPT>
</HEAD>
<BODY topMargin=5>
<FORM id=Form1 name="Form1" action="ContactsServlet" method="post">
<DIV><INPUT id=__VIEWSTATE type="hidden" value="group"
	name="contacts" /></DIV>
<TABLE class=small cellSpacing=0 cellPadding=3 width="100%" border=0>
	<TBODY>
		<TR>
			<TD class=Big><IMG src="<%=basePath%>/img/office/infofind.gif"
				align=absMiddle /> <SPAN class=big3>&nbsp;新建分组</SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
<DIV id=pnlMain>
<TABLE class=small cellSpacing=1 cellPadding=2 width=450 align=center
	bgColor=#000000 border=0>
	<TBODY>
		<TR>
			<TD class=TableData noWrap>组名称：</TD>
			<TD class=TableData><INPUT type="text" class=BigInput
				id=txtContent size=40 name="groupName" /></TD>
		</TR>

		<TR class=TableControl align=middle>
			<TD noWrap colSpan=2>&nbsp; <INPUT type="submit" class=BigButton
				onClick="return CheckForm();" value="提交" /></TD>
		</TR>

	</TBODY>
</TABLE>
</DIV>
<DIV></DIV>
</FORM>
</BODY>
</HTML>
